package com.pk.platform.business.core.service;

import java.util.List;
import java.util.Map;

import com.pk.platform.domain.list.ListDefine;
import com.pk.platform.domain.list.ListField;
import com.pk.platform.domain.list.ListModule;
import com.pk.platform.util.page.Pager;

public interface IListViewService {

	public List<Map<String, Object>> queryListModule(Pager pager);
	
	public List<Map<String, Object>> queryListDefineByModule(String moduleId, Pager pager);
	
	public List<Map<String, Object>> queryListFieldByDefine(String listId);
	
	public String saveListModule(ListModule lm);
	
	public String saveListDefine(ListDefine ld);
	
	public void saveListField(ListField lf);
	
	public ListModule queryListModuleById(String id);
	
	public ListDefine queryListDefineById(String id);
	
	public ListField queryListFieldById(String id);
	
	public String delListModule(String id);
	
	public void delListDefine(String id);
	
	public void delListField(String[] id);
	
	public void changeListFieldSort(String[] fieldId, Integer[] sort);
	
	public Map<String, Object> initGrid(String listCode);
	
	public List<Map<String, Object>> loadGridData(String listCode, Map<String, String> paramObj, Pager pager);
	
}
